﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMS.APP
{
    public class LabelBasic
    {
        #region Fields
        /// <summary>
        /// 标签名称
        /// </summary>
        private int name;
        /// <summary>
        /// 标签名称
        /// </summary>
        public int Name
        {
            get { return name; }
            //set { name = value; }
        }
        /// <summary>
        /// 标签描述
        /// </summary>
        private string description;
        /// <summary>
        /// 标签描述
        /// </summary>
        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        /// <summary>
        /// 创建者
        /// </summary>
        private string creator;
        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator
        {
            get { return creator; }
            //set { creator = value; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        private DateTime creatTime;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatTime
        {
            get { return creatTime; }
            //set { creatTime = value; }
        }
        /// <summary>
        /// 更新者
        /// </summary>
        private string lastUpdater;
        /// <summary>
        /// 更新者
        /// </summary>
        public string LastUpdater
        {
            get { return lastUpdater; }
            //set { lastUpdater = value; }
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        private DateTime lastUpdateTime;
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime LastUpdateTime
        {
            get { return lastUpdateTime; }
            //set { lastUpdateTime = value; }
        }
        #endregion Fields
        
        /// <summary>
        /// 更新
        /// </summary>
        public int Update()
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 引用的新闻
        /// </summary>
        public List<News> ReferenceNews
        {
            get
            {
                throw new System.NotImplementedException();
            }
        }
        /// <summary>
        /// 制作一个新标签
        /// </summary>
        /// <param name="labelName">标签名称</param>
        /// <param name="labelDescription">标签描述</param>
        public static int MakeLabel(string labelName, string labelDescription)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 阅读标签
        /// </summary>
        /// <param name="labelName">标签名称</param>
        public static LabelBasic ReadLabel(string labelName)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 阅读标签
        /// </summary>
        /// <param name="howMany">标签数量</param>
        public static List<LabelBasic> ReadLabels(int? howMany)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 阅读标签
        /// </summary>
        /// <param name="userId">用户Id</param>
        /// <param name="howMany">标签数量</param>
        public static List<LabelBasic> ReadLabelsbyUser(string userId, int? howMany)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 阅读标签
        /// </summary>
        /// <param name="timeFrom">时间开始</param>
        /// <param name="timeTo">时间结束</param>
        public static List<LabelBasic> ReadLabelsbyTime(System.DateTime? timeFrom, System.DateTime? timeTo)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 阅读标签
        /// </summary>
        /// <param name="labelName">标签名称</param>
        /// <param name="labelDescription">标签描述</param>
        /// <param name="userId">用户Id</param>
        /// <param name="timeFrom">时间开始</param>
        /// <param name="timeTo">时间结束</param>
        /// <param name="howMany">数量</param>
        public static List<LabelBasic> SearchLabels(string labelName, string labelDescription, string userId, DateTime? timeFrom, DateTime? timeTo, int? howMany)
        {
            throw new System.NotImplementedException();
        }
    }
}
